import request from '@/utils/request'
import { praseStrEmpty } from "@/utils/admin";

// 查询用户列表
export function getJobDetail(jobKey) {
  return request({
    url: '/job/getJobDetail?jobKey='+jobKey,
    method: 'get'
  })
}


export function startJob(jobKey) {
  return request({
    url: '/job/startJob?jobKey='+jobKey,
    method: 'get'
  })
}


export function stopJob(jobKey) {
  return request({
    url: '/job/stopJob?jobKey='+jobKey,
    method: 'get'
  })
}


